package com.lanju.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "share_prize")
public class SharePrize implements Serializable {

	private static final long serialVersionUID = -1600219019264329257L;

	private Integer prize_id;

	private String prize_user_id;

	private Date prize_time;

	private String phone;

	@Id
	@Column(name = "prize_id", unique = true, nullable = false)
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	public Integer getPrize_id() {
		return prize_id;
	}

	public void setPrize_id(Integer prize_id) {
		this.prize_id = prize_id;
	}

	public String getPrize_user_id() {
		return prize_user_id;
	}

	public void setPrize_user_id(String prize_user_id) {
		this.prize_user_id = prize_user_id;
	}

	public Date getPrize_time() {
		return prize_time;
	}

	public void setPrize_time(Date prize_time) {
		this.prize_time = prize_time;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

}
